package com.lemon.datasource.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 李猛
 * @datetime 2024/2/18 1:21
 * @description 类对象
 */
@Getter
@Setter
@ConfigurationProperties("spring.datasource")
public class DataSourceProperties {
    //用户名
    private String username;

    //密码
    private String password;

    //url
    private String url;

    //驱动
    private String driverClassName;
}
